package com.dayu.web.param;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import com.dayu.web.vo.Destination;

/**
 * 基础配置信息参数
 * 
 * @author Chenjiawei
 *
 *         2017年11月9日
 */
public class BaseConfigParam extends TokenParam {

	private String serverIp;
	private Integer serverPort;

	private Set<String> protocols;

	private List<Destination> dest;

	public BaseConfigParam() {

		protocols = new HashSet<String>();
		dest = new ArrayList<Destination>();

	}

	public String getServerIp() {
		return serverIp;
	}

	public void setServerIp(String serverIp) {
		this.serverIp = serverIp;
	}

	public Integer getServerPort() {
		return serverPort;
	}

	public void setServerPort(Integer serverPort) {
		this.serverPort = serverPort;
	}

	public Set<String> getProtocols() {
		return protocols;
	}

	public void setProtocols(Set<String> protocols) {
		this.protocols = protocols;
	}

	public List<Destination> getDest() {
		return dest;
	}

	public void setDest(List<Destination> dest) {
		this.dest = dest;
	}

}
